package com.parkinglot.biz;

import com.parkinglot.core.Result;
import com.parkinglot.enumeration.DateTypeEnum;
import lombok.Data;

import java.time.LocalDate;

@Data
public class StatisticsContext {
    public StatisticsContext(DateTypeEnum dateTypeEnum) {
        this.dateTypeEnum = dateTypeEnum;
    }


    /**
     * 必要参数
     */
    private DateTypeEnum dateTypeEnum;
    /**
     * 非必要参数：车库号
     */
    private String garageNumber;




    /**
     * 返回结果
     */
    private Object result;


    private LocalDate beginDate;
    private LocalDate endDate;
}
